﻿
namespace RealidadeAumentada.Entidades
{
    public class EBuffer
    {
        private const int T_BYTE1D = 0x00010000;
        private const int T_INT2D = 0x00020000;
        private const int T_SHORT1D = 0x00030000;
        private const int T_INT1D = 0x00040000;
        private const int T_OBJECT = 0x00100000;
        private const int T_USER = 0x00FF0000;


        public const int NULL_ALLZERO = 0x00000001;
        public const int USER_DEFINE = T_USER;

        public const int BYTE1D_R8G8B8_24 = T_BYTE1D | 0x0001;
        public const int BYTE1D_B8G8R8_24 = T_BYTE1D | 0x0002;
        public const int BYTE1D_B8G8R8X8_32 = T_BYTE1D | 0x0101;
        public const int BYTE1D_X8R8G8B8_32 = T_BYTE1D | 0x0102;

        public const int BYTE1D_R5G6B5_16LE = T_BYTE1D | 0x0201;
        public const int BYTE1D_R5G6B5_16BE = T_BYTE1D | 0x0202;
        public const int WORD1D_R5G6B5_16LE = T_SHORT1D | 0x0201;
        public const int WORD1D_R5G6B5_16BE = T_SHORT1D | 0x0202;


        public const int INT2D = T_INT2D | 0x0000;
        public const int INT2D_GRAY_8 = T_INT2D | 0x0001;
        public const int INT2D_BIN_8 = T_INT2D | 0x0002;

        public const int INT1D = T_INT1D | 0x0000;
        public const int INT1D_GRAY_8 = T_INT1D | 0x0001;
        public const int INT1D_BIN_8 = T_INT1D | 0x0002;


        public const int INT1D_X8R8G8B8_32 = T_INT1D | 0x0102;

        public const int INT1D_X7H9S8V8_32 = T_INT1D | 0x0103;


        public const int OBJECT_Java = T_OBJECT | 0x0100;
        public const int OBJECT_CS = T_OBJECT | 0x0200;
        public const int OBJECT_AS3 = T_OBJECT | 0x0300;

        public const int OBJECT_Java_BufferedImage = OBJECT_Java | 0x01;


        public const int OBJECT_AS3_BitmapData = OBJECT_AS3 | 0x01;
    }
}
